#ifndef LUCNX_BITMAP_H
#define LUCNX_BITMAP_H

#include <Lucnx/types.h>

typedef struct bitmap_t
{
    int btmp_len;
    u8 *bits;
}bitmap_t;

bool bitmap_scan_test(bitmap_t* p_btm, u32 bit_idx);
int bitmap_scan(bitmap_t* p_btm, u32 cnt);
int bitmap_set(bitmap_t* p_btm, u32 bit_idx, int8 value);
void bitmap_init(bitmap_t *p_btmp);

#endif